package cn.tedu.personal_patient.information.dao.persist.mapper;

import cn.tedu.personal_patient.information.pojo.entity.User;
import cn.tedu.personal_patient.information.pojo.vo.UserVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper extends BaseMapper<User> {
    /**
     * 根据id查询用户信息
     * @param id
     * @return
     */
    List<UserVO> listById(Long id);

    int avatar(User user);

}
